package util;

import java.util.Comparator;

public class DoubleComparator implements Comparator<Object> 
{
	public int compare(Object o1, Object o2) 
	{
		Double double1 = (Double) o1;
		Double double2 = (Double) o2;

		return double1.compareTo(double2);
	}

	public boolean equals(Object o2) 
	{
		return this.equals(o2);
	}
}